<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 7/25/17
 * Time: 12:55 PM
 */

namespace frontend\modules\test\models;


use yii\base\Model;

class Test extends Model
{
    const EVENT_TEST = 'event-test';

    public function test()
    {
        $this->trigger(self::EVENT_TEST);
    }

    public function test1()
    {
        echo 123465;
    }
}